package cn.tedu.hospital.management.dao.persist.repository.impl;

import cn.tedu.hospital.management.dao.persist.mapper.LevelMapper;
import cn.tedu.hospital.management.dao.persist.repository.LevelRepository;
import cn.tedu.hospital.management.pojo.entity.Level;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class LevelRepositoryImpl implements LevelRepository {
    @Autowired
    LevelMapper levelMapper;

    @Override
    public List<Level> getAllLevel() {
        return levelMapper.getAllLevel();
    }
}
